package login

import (
	"google.golang.org/protobuf/proto"
	"my-gameserver-go/core/mynet/conn"
	"my-gameserver-go/proto/c2s"
)

type MReqLoginHandler struct {
}

func (loginHandler MReqLoginHandler) ProtoAction(Conn *conn.GameConnection, Data []byte) {
	var msg = &c2s.C2SLoginMessage{}
	proto.Unmarshal(Data, msg)
	InsLoginManager.Login(Conn, msg)
}
